Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

chore(deps): Move to cosmos-sdk v0.50 official release #1296

Merged
merged 7 commits into from
Nov 7, 2023
Merged

Conversation

itsdevbear
Copy link

@itsdevbear itsdevbear commented Nov 7, 2023

Summary by CodeRabbit

The existing bullet-point list is still valid based on the provided instructions.

Copy link

codecov bot commented Nov 7, 2023

Codecov Report

Merging #1296 (3c8dbac) into main (45696b1) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1296   +/-   ##
=======================================
  Coverage   48.54%   48.54%           
=======================================
  Files          84       84           
  Lines        4857     4857           
=======================================
  Hits         2358     2358           
  Misses       2325     2325           
  Partials      174      174           

@itsdevbear itsdevbear added the merge me daddy Trigger Beradozer to bulldoze the PR label Nov 7, 2023
@itsdevbear itsdevbear requested review from calbera and ocnc November 7, 2023 20:20
Copy link

coderabbitai bot commented Nov 7, 2023

# Walkthrough

The changes primarily revolve around the restructuring and enhancement of the Cosmos SDK application's initialization and configuration process. The modifications involve the addition of new functions, import statements, and command initializations, along with significant alterations to the `NewRootCmd` function and the handling of client context and keyring.

# Changes

| File Path | Change Summary |
| --- | --- |
| e2e/testapp/.../commands.go | Added import statements, function definitions, and command initializations. Introduced `initCometBFTConfig` and `initAppConfig` functions for custom configuration setup. Defined `newApp` and `appExport` functions for application creation and export. |
| e2e/testapp/.../root.go | Made significant changes to `NewRootCmd` function, introducing `clientCtx` and `txConfig` variables, and modifying the initialization process. Introduced `ProvideClientContext` and `ProvideKeyring` functions. Removed `initCometBFTConfig` and `initAppConfig` functions. Updated `genesisCommand`, `queryCommand`, and `txCommand` functions, altering the command structure. |

# Poem

> 🍂 As the leaves fall, so does the old code,  
> Replaced by the new, a sight to behold.  
> With Cosmos SDK in our stride,  
> We've taken the software for a joyride.  
> 🚀 Launching new functions into the sky,  
> Watching as the old bugs say goodbye.  
> On this day, in code we trust,  
> Making changes that are robust.  
> 🐇 CodeRabbit hops with glee,  
> Celebrating the changes, as easy as one, two, three!

Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai help to get help.
  • @coderabbitai resolve to resolve all the CodeRabbit review comments.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 45696b1 and 3c8dbac.
Files ignored due to filter (11)
  • build/tools/go.mod
  • build/tools/go.sum
  • cosmos/go.mod
  • cosmos/go.sum
  • e2e/precompile/go.mod
  • e2e/precompile/go.sum
  • e2e/testapp/go.mod
  • e2e/testapp/go.sum
  • eth/go.mod
  • eth/go.sum
  • go.work.sum
Files selected for processing (2)
  • e2e/testapp/polard/cmd/commands.go (1 hunks)
  • e2e/testapp/polard/cmd/root.go (3 hunks)
Files skipped from review due to trivial changes (1)
  • e2e/testapp/polard/cmd/commands.go
Additional comments: 6
e2e/testapp/polard/cmd/root.go (6)
  • 57-62: The NewRootCmd function has been updated to include clientCtx as a local variable. Ensure that this change doesn't break any existing functionality that relies on the previous version of this function.

  • 74-78: The depinject.Provide function now includes ProvideClientContext and ProvideKeyring. Ensure that these functions are correctly implemented and that they return the expected types.

  • 88-88: The ethcryptocodec.RegisterInterfaces function is called with clientCtx.InterfaceRegistry as an argument. Ensure that clientCtx.InterfaceRegistry is correctly initialized before this call.

  • 90-122: The PersistentPreRunE function of rootCmd has been significantly modified. Ensure that these changes don't break any existing functionality that relies on the previous version of this function.

  • 134-162: The ProvideClientContext function is introduced. Ensure that this function is correctly implemented and that it returns the expected type.

  • 164-171: The ProvideKeyring function is introduced. Ensure that this function is correctly implemented and that it returns the expected type.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 3c8dbac and 33d253e.
Files selected for processing (1)
  • README.md (1 hunks)
Files skipped from review due to trivial changes (1)
  • README.md

@mergify mergify bot merged commit 9eacb8c into main Nov 7, 2023
@mergify mergify bot deleted the v0.50.0 branch November 7, 2023 20:46
mergify bot pushed a commit that referenced this pull request Nov 7, 2023
## Summary by CodeRabbit

The existing bullet-point list is still valid based on the provided instructions.

(cherry picked from commit 9eacb8c)
itsdevbear pushed a commit that referenced this pull request Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/v0.0.2-alpha merge me daddy Trigger Beradozer to bulldoze the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants